@import '~@fortawesome/fontawesome-free/css/all.css';

@tailwind base;
@tailwind components;
@tailwind utilities;

.hover-highlight {
    @apply transition duration-300 ease-out transform hover:-translate-y-1 hover:scale-105;
}

/* Tooltips */
.tooltip {
    @apply hidden absolute;
}

.has-tooltip:hover .tooltip {
    @apply block z-50 border-4 rounded-md bg-gray-900 p-2
}


.feature-tab {
    @apply p-4;
}

.btn {
    @apply mx-1 my-1 py-2 px-4 font-semibold rounded-lg shadow-md disabled:opacity-50 text-sm sm:text-lg;
}

@layer utilities {
    .filter-none {
        filter: none;
    }

    .filter-grayscale {
        filter: grayscale(100%);
    }
}

.input-primary {
    @apply border border-gray-300 p-2 my-2 rounded-md focus:outline-none focus:ring-2 ring-blue-200 text-black;
}

.input-range {
    @apply border border-gray-300 py-2 my-2 rounded-md focus:outline-none;
}

.btn-green {
    @apply text-white bg-green-500 hover:bg-green-600;
}

.btn-blue {
    @apply text-white bg-blue-500 hover:bg-blue-600;
}

.btn-red {
    @apply text-white bg-red-500 hover:bg-red-600;
}
